#include<stdio.h>
#include<conio.h>
#include<math.h>
int main(){
	int n;
	float s=0;
	printf("nhap vao n: ");
	scanf("%d",&n);
	for(float i=1;i<=n;i++){
		s=s+(1/i);
	}
	printf("tong can tinh la: %0.2f",s);
	getch();
}
